
import java.io.File;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author danilo
 */
public class FileSize {

    public static void main(String[] args){
        File f = new File(args[0]);

        System.out.println( "Tamanho do arquivo " + f.getName() + ": " + f.length() );
    }

}
